//
//  XrDataBaseManager.h
//  TasteEnjoy
//
//  Created by XuRui on 16/5/5.
//  Copyright © 2016年 XuRui. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface XrDataBaseManager : NSObject

//单例
+ (XrDataBaseManager *)shareInstace;


//打开数据库
- (void)openDataBase;
//创建表 删除表
- (void)createTable;
- (void)deleteTable;

//增删改查
- (void)insertEnjoy:(EnjoyModel *)enjoy;
- (void)deleteTitle:(NSString *)title;
- (void)updateEnjoy:(EnjoyModel *)newValue num:(NSInteger)num;
- (NSMutableArray *)select;



@end
